<?php $lang = $_POST['lang']; 

if ($lang == "1"){
	include('../includes/language/german.php');
} elseif ($lang == "2"){
	include('../includes/language/english.php');
} elseif ($lang == "3"){
	include('../includeslanguage/french.php');
}
include ('setup_head.html');
?>

<div id="ipage2">
	<?php echo "<h1>$nls_install_headline</h1>"; ?>
	<?php echo "<h2>$nls_install_step2</h2>"; ?>
	<?php echo "<p>$nls_install_step2_explain</p>"; ?>
	<form action="step2.php" method="post">
		<table border="0">
			<tr><td>Server:</td><td><input type="text" value="localhost" name="serv" /></td></tr>
			<tr><td>Root DB-User:</td><td><input type="text" value="root" name="usr" /></td></tr>
			<tr><td>Root DB-Password:</td><td><input type="text" value="root" name="pwd" /></td></tr>
			<tr><td>DB-Prefix:</td><td><input type="text" value="" name="pfx" /></td></tr>
			<tr><td>DicomScience DB-User:</td><td><input type="text" value="science" name="dsusr" /></td></tr>
			<tr><td>DicomScience DB-Password:</td><td><input type="text" value="science" name="dspwd" /></td></tr>
		</table>
		<?php echo "<input type=\"hidden\" name=\"lang\" value=\"$lang\" />"; ?>
		<input type="submit" />
	</form>
	
</div>

<?php include ('setup_foot.html'); ?>